package com.google.gwt.maps.v3.client.streetview.impl;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.user.client.Element;

public class StreetViewPanoramaImpl {
  
  public static final StreetViewPanoramaImpl impl = new StreetViewPanoramaImpl();
  
  public native JavaScriptObject construct(Element container) /*-{
    return new $wnd.google.maps.StreetViewPanorama(container);
  }-*/;
  
  public native JavaScriptObject construct(Element container, JavaScriptObject opts) /*-{
    return new $wnd.google.maps.StreetViewPanorama(container, opts);
  }-*/;
  
  public native JsArray<JavaScriptObject> getLinks(JavaScriptObject jso) /*-{
    return jso.getLinks();
  }-*/;
  
  public native String getPano(JavaScriptObject jso) /*-{
    return jso.getPano();
  }-*/;
  
  public native JavaScriptObject getPosition(JavaScriptObject jso) /*-{
    return jso.getPosition();
  }-*/;
  
  public native JavaScriptObject getPov(JavaScriptObject jso) /*-{
    return jso.getPov();
  }-*/;
  
  public native boolean getVisible(JavaScriptObject jso) /*-{
    return jso.getVisible();
  }-*/;
  
  public native void setPano(JavaScriptObject jso, String pano) /*-{
    jso.setPano(pano);
  }-*/;
  
  public native void setPosition(JavaScriptObject jso, JavaScriptObject position) /*-{
    jso.setPosition(position);
  }-*/;
  
  public native void setPov(JavaScriptObject jso, JavaScriptObject pov) /*-{
    jso.setPov(pov);
  }-*/;
  
  public native void setVisible(JavaScriptObject jso, boolean visible) /*-{
    jso.setVisible(visible);
  }-*/;
  
}
